
<!--banner开始-->
<div class="banner">
	<img src="<?php echo json_decode($banner[0]['path'])[0];?>"/>
</div>
   <div class="news">
    	<p>您的位置:<a href="<?php echo'index.php?c=news&hid='.$hid;?>"><?php echo $curcate['category_name']?></a>>><a href="<?php echo'index.php?c='.C.'&hid='.$hid.'&sid='.$sid;?>"><?php echo $cursec['category_name']?></a></p>
    	<div class="news_details">
        	<div class="de_left">
            	<div class="left_header">
                    <p>N</p>
                    <h6><?php echo $curcate['category_name']?></h6>
                    <span>EWS CENTER</span>
             	</div>
            <ul>
            	<ul>

                    <?php foreach($secondary as $sec):?>

                    <li <?php if($sid==$sec['id']){echo "class='this'";}?>><a href="<?php echo 'index.php?c=news&hid='.$hid.'&sid='.$sec['id'];?>"><span></span><?php echo $sec['category_name'];?><span></span></a></li>
                    
                    <!-- class="this" -->
                    <?php endforeach;?>

                </ul>
            </ul>
            <img src="<?php echo IMG;?>lianxiren.jpg"/> 
            <div class="left_bottom">
                <img src="<?php echo IMG;?>phone.jpg"/></a>
                <p>联系我们</p>
                <span>020-88888888</span>
            </div>
             </div>
            <div class="de_right">
            	<h3><?php echo $data['title'];?></h3>
                <img src="<?php echo json_decode($data['img_path']);?>"/>
                <div class="new_con">


                    <p><?php echo date('Y-m-d',$data['create_time']);?><span><?php echo date('H:m:s',$data['create_time']);?></span></p>
                    <p>本报记者<span><?php if(isset($data['reporter'])){echo $data['reporter'];}?></span><span>通讯员</span><span><?php if(isset($data['correspondent'])){echo $data['correspondent'];}?>报道</span>
                    </p>
                    <p>
                    <?php echo $data['content'];?>
                    </p>
                    <p>责任编辑：<span><?php $data['edit'];?></span></p>



                </div>

                <?php if($prev['id']==0){echo '<p><a>上一篇</a>';}else{ ?><p><a href="<?php echo'index.php?c='.C.'&hid='.$hid.'&sid='.$sid.'&id='.$prev['id'];?>">上一篇</a><?php ;}if($next['id']==0){echo '<a>下一篇</a></p>';}else{?><a href="<?php echo 'index.php?c='.C.'&hid='.$hid.'&sid='.$sid.'&id='.$next['id']?>">下一篇</a></p><?php }?>



               
            </div>
          </div>
   </div>
</div>